package com.qiangesoft.blog.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qiangesoft.blog.common.mvc.PageQuery;
import com.qiangesoft.blog.common.mvc.PageResultVO;
import com.qiangesoft.blog.common.result.ResponseResult;
import com.qiangesoft.blog.core.entity.BlogLeaveMessage;

import java.util.List;

/**
 * <p>
 * 留言 服务类
 * </p>
 *
 * @author qiange
 * @since 2023-06-05
 */
public interface IBlogLeaveMessageService extends IService<BlogLeaveMessage> {

    PageResultVO<BlogLeaveMessage> listMessage(PageQuery pageQuery, String name);

    ResponseResult deleteMessageById(int id);

    ResponseResult passBatch(List<Long> ids);

    ResponseResult deleteBatch(List<Long> ids);


    //    ------web端方法开始-----
    ResponseResult webAddMessage(BlogLeaveMessage message);

    ResponseResult webMessage();
}
